package frame.spring.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * Author: shen qi han
 * Date: 2022/3/28 上午12:53
 */
@Aspect
@Component
public class UserAspect {

    @Before("execution(* frame.spring.aop.*.*(..))")
    public void before(){
        System.out.println("before display.");
    }

}
